

#import "AppDelegate.h"

extern NSString *const kUserDidLoginNotification;   // 用户登录
extern NSString *const kUserDidLogoutNotification;  // 用户退出
extern NSString *const kUserDidDeniedNotification;  // 用户访问受限
extern NSString *const kUserPasswordDidChangeNotification;  // 密码变更

@protocol RouteNoteProtocol <NSObject>
@optional
- (void)userDidLogin:(NSNotification *)note;
- (void)userDidLogout:(NSNotification *)note;
- (void)userDidDenied:(NSNotification *)note;
- (void)userPasswordDidChange:(NSNotification *)note;
@end


@interface AppDelegate (Note) <RouteNoteProtocol>

/** 注册常用通知 */
- (void)setupNotifications;

@end
